package com.ws.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ws.bean.Staff;
import com.ws.util.Page;

@Mapper
public interface StaffDao {
	//返回所有的员工信息
	List<Staff> getAllStaff(@Param("staff") Staff staff,@Param("page") Page page);

	int getCount(@Param("staff") Staff staff);

	int editStaff(Staff staff);

	int delStaff(Integer id);

	int addStaff(Staff staff);

	int addImg(Staff staff);
	

}
